package ru.aptu.billing_message;

/**
 * Created by IntelliJ IDEA.
 * User: andrey
 * Date: 12/23/11
 * Time: 12:52 AM
 */

public class ResponseMessage extends BasicMessage {

    protected Status status;

    public ResponseMessage(BasicMessage rqMsg, Status status) {
        super(MessageDirection.RESPONSE, rqMsg.getType());
        this.msgID = rqMsg.getID();
        this.status = status;
    }

    public Status getStatus() {
        return status;
    }
}
